﻿using System.ComponentModel.DataAnnotations;

namespace Demo.Identity.Dto;

/// <summary>
/// 用户名密码登录请求
/// </summary>
public class PasswordLoginRequest
{
    /// <summary>
    /// 用户名
    /// </summary>
    [Required]
    public string UserName { get; set; }

    /// <summary>
    /// 密码
    /// </summary>
    [Required]
    public string Password { get; set; }
}